package com.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.bstek.dorado.annotation.PropertyDef;

/**
 * 规则文件
 * 
 * @author LCX
 *
 */
@Entity
@Table(name = "RULE_FILE")
public class RuleFile extends BaseEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = -2367930154022816147L;

	@Column(name = "FILE_NAME_", length = 126)
	@PropertyDef(label = "文件名")
	private String fileName;

	@Column(name = "FILE_TYPE_")
	@PropertyDef(label = "文件类型", description = "0:：决策表，1：决策集，2：决策树，3：评分卡，4：决策流")
	private int fileType;

	@Column(name = "FILE_PATH_", length = 512)
	private String filePath;

	@Column(name = "DESCRIPTION_", length = 1024)
	@PropertyDef(label = "备注")
	private String description;

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public int getFileType() {
		return fileType;
	}

	public void setFileType(int fileType) {
		this.fileType = fileType;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getFilePath() {
		return filePath;
	}

	public void setFilePath(String filePath) {
		this.filePath = filePath;
	}

}
